import ddddocr
import requests
from PIL import Image

request = requests.get('https://checkcode.99.com/image/a32d653f692674ec632a24c2fb2fa6ad/aq_login')

with open("img.jpg",'wb') as f:
    f.write(request.content)

ocr = ddddocr.DdddOcr(show_ad=False)


res = ocr.classification(open('img.jpg','rb').read())

print(res)
